<?php
class Home extends Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    public function actionIndex()
    {
        if(!$this->_session->get('adminid'))
        {
            return $this->responseRedirect('login');
        }
        else
        {
            return $this->responseView('home/home');
        }
    }
}